<template>
  <div>
    <button @click="sing">唱歌</button>
    <button @click="dance">跳舞</button>
  </div>
</template>

<script>
export default {
  name: 'MyJack',
  data () {
    return {
      age: 18
    }
  },
  methods: {
    dance () {
      console.log('芭蕾')
    },
    sing () {
      console.log('小情歌')
    }
  }
}
</script>

<style>

</style>